home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 15370 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  757 b 

  1. Path: news.cc.sunysb.edu!usenet
  2. From: dkat@psych1.psy.sunysb.edu (DK)
  3. Newsgroups: comp.lang.c
  4. Subject: SCANF and FSCANF
  5. Date: Thu, 18 Apr 1996 21:42:34 GMT
  6. Organization: State University of New York at Stony Brook
  7. Message-ID: <4l61li$bu7@abel.cc.sunysb.edu>
  8. NNTP-Posting-Host: catsam.psy.sunysb.edu
  9. X-Newsreader: Forte Free Agent 1.0.82
  10.  
  11. Ok, this is driving me nuts.  Why do I keeps seeing references to the
  12. use of SCANF and FSCANF?  Why would anyone use them or recommend their
  13. use?  Yes it saves one line of code but I see more people running into
  14. problems they could easily avoid just by using gets and fgets followed
  15. with sscanf and doing it consistently  (Mixing gets, fgets, scanf, and
  16. fscanf is another problem in itself)!  Am I missing something?
  17.  
  18.  
  19.